home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / Bomber Fortress.swf / scripts / DefineButton2_127 / BUTTONCONDACTION on(keyPress Down).as
Encoding:
Text File  |  2006-06-13  |  209 b   |  8 lines

  1. on(keyPress "<Down>"){
  2.    if(getProperty("/plane", _Y) < "420")
  3.    {
  4.       setProperty("/plane", _Y, getProperty("/plane", _Y) + "20");
  5.       setProperty("/5", _Y, getProperty("/5", _Y) + "20");
  6.    }
  7. }
  8.